/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.shop.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.shop.entity.AdPosition;
import com.thinkgem.jeesite.modules.shop.dao.AdPositionDao;

/**
 * 广告位管理Service
 * @author xxs
 * @version 2016-08-31
 */
@Service
@Transactional(readOnly = true)
public class AdPositionService extends CrudService<AdPositionDao, AdPosition> {

	public AdPosition get(String id) {
		return super.get(id);
	}
	
	public List<AdPosition> findList(AdPosition adPosition) {
		return super.findList(adPosition);
	}
	
	public Page<AdPosition> findPage(Page<AdPosition> page, AdPosition adPosition) {
		return super.findPage(page, adPosition);
	}
	
	@Transactional(readOnly = false)
	public void save(AdPosition adPosition) {
		super.save(adPosition);
	}
	
	@Transactional(readOnly = false)
	public void delete(AdPosition adPosition) {
		super.delete(adPosition);
	}
	
}